package com.lele.pojo;

import lombok.*;


//生成带有必须参数的构造函数，需要用
@EqualsAndHashCode(callSuper = false,of = "name")
@RequiredArgsConstructor
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private int id;
    @NonNull
    private String name;
}
